﻿
@{
    ViewBag.Title = "会员明细表";
    Layout = "~/Views/Shared/_LayoutDate.cshtml";
}

@section SubMenu1{
    会员:
    @Html.DropDownList("VipId", ViewData["Vip"] as SelectList, htmlAttributes: new { @class = "form-control" })
}

<script type="text/javascript">
    $(document).ready(function () {
        $(":button").click(function () {
            $.get("/Vip/ReportMxGet", {
                startDate: $("#StartDate").val(),
                endDate: $("#EndDate").val(),
                vipId: $("#VipId").val()
            },
                function (data, status) {
                    if (status == "success") {
                        $("#tableDetail").html(data);
                    }
                    else {
                        alert("远程服务器连接失败");
                    }
                });
        });
    });
</script> 